package com.example.demo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CartItemDetailsDTO {
    @JsonProperty("cartId")
    private Integer cartId;
    @JsonProperty("goodsId")
    private Integer goodsId;
    @JsonProperty("name")
    private String name;
    @JsonProperty("price")
    private BigDecimal price;
    @JsonProperty("stock")
    private Integer stock;
    @JsonProperty("category")
    private String category;
    @JsonProperty("quantity")
    private Integer quantity;
}